package com.zyd.shiro.persistence.mapper;


import com.zyd.shiro.persistence.beans.PakScrapped;
import com.zyd.shiro.plugin.BaseMapper;
import com.zyd.shiro.framework.object.BaseConditionVO;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import java.util.List;



@Repository
public interface PakScrappedMapper extends BaseMapper<PakScrapped> {

/**
     * 分页查询
     *
     * @param vo
     * @return
     */
    @Select("<script>"+
            "SELECT s.* FROM PAK_SCRAPPED s WHERE  1 = 1 " +
            " GROUP BY s.id ORDER BY s.create_time DESC " +
            "</script>")
    List<PakScrapped> findPageBreakByCondition(BaseConditionVO vo);
}